<?php
/**
 * @package Curly
 * @version 0.9
 * @link http://curly.codeplex.com/
 * @license http://curly.codeplex.com/license The MIT License
 * @author Dawid Zawada
 */

namespace Curly
{  
    use Curly\Enumeration\Enum;

    /**
     * HTTP request methods enumeration
     * 
     * @package Curly
 	 * @license http://curly.codeplex.com/license The MIT License
     */
	final class Method extends Enum
    {
        /**
         * GET
         * 
         * @return Curly\Method
         */
        public static function GET()
        {
            return parent::___getInstance( __FUNCTION__ );
        }
        
        /**
         * POST
         *
         * @return Curly\Method
         */
        public static function POST()
        {
            return parent::___getInstance( __FUNCTION__ );
        }
        
        /**
         * PUT
         *
         * @return Curly\Method
         */
        public static function PUT()
        {
            return parent::___getInstance( __FUNCTION__ );
        }
        
        /**
         * DELETE
         * 
         * @return Curly\Method
         */
        public static function DELETE()
        {
            return parent::___getInstance( __FUNCTION__ );
        }
        
        /**
         * HEAD
         * 
         * @return Curly\Method
         */
        public static function HEAD()
        {
            return parent::___getInstance( __FUNCTION__ );
        }
    }
}